<?php
require("model.php");
define("APPINDEX","/index.php");
define("APPADMIN","/admin.php");
define("APPMODULE","/module.php");
define("APPSHOP","/shopadmin.php");
define("APPYMDIAN","/ymdianadmin.php");
define("APPKOUDAI","/koudaiadmin.php");
define("APPKUCUN","/kucunadmin.php");
define("AUTO_CHECK_BAD_WORD",false); 
if(!defined("DOMAIN")){
	define("DOMAIN",$_SERVER['HTTP_HOST']);
}
if(!defined("DEFAULT_USERID")){
	define("DEFAULT_USERID",1);
}
//默认地区一级ID
define("DISTRICTID",0);//福鼎
define("HAS_PRINTER",true);
define("MAX_BUY_NUM",50);
//type-id
define("GROUP_TYPE_ID",1);
define("GROUP_TITLE_TYPE_ID",2);
define("ACTIVITY_TYPE_ID",3);
define("ACTIVITY_TOPIC_TYPE_ID",4);
define("MAGAZINE_TYPE_ID",5);

define("SHOP_TYPE_ID",1);
define("PRODUCT_TYPE_ID",1);
//夜猫
define("YM_XC_MONEY",0.03);
define("YM_GL_MONEY",0.21);
define("YMDIAN_WG_QR",180);//确认违规
define("YMDIAN_WG_PS",300);//配送违规
define("YMDIAN_WG_DK",3600*72);//打款违规
//口袋
define("KD_DZ_MONEY",0.08);
define("KD_QD_MONEY",0,04);
define("KD_XC_MONEY",0.03);
define("KD_FQ_GRMONEY",50); 
define("KD_FQ_SSMONEY",100);
//优卡
define("YOUKA_GR_SXMONEY",50);//个人授信
define("YOUKA_QS_SXMONEY",100);//宿舍
define("ALLOWPOST",1);
//开启微信模板消息
define("WEIXIN_MB_MSG_OPEN",1);
if(!isset($SITELIST[$_SERVER['HTTP_HOST']]) && !isset($_GET['skins'])){
	//模板
	define("SKINS",'index');
	//模板
	define("WAPSKINS",'wap');
}elseif($_GET['skins']){
	//模板
	define("SKINS",$_GET['skins']);
	//模板
	define("WAPSKINS",$_GET['skins']);	
}else{
	//模板
	define("SKINS",$SITELIST[$_SERVER['HTTP_HOST']]['skins']);
	//模板
	define("WAPSKINS",$SITELIST[$_SERVER['HTTP_HOST']]['wapskins']);	
}
